package com.wb.entity;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.Serializable;

public class UserModel implements Serializable {

    private final Logger logger = LoggerFactory.getLogger(UserModel.class);

    private String id;

    private String name;

    private String auth;

    public UserModel() {
    }

    public UserModel(String id, String auth) {
        this.id = id;
        this.auth = auth;
    }

    public UserModel(String id, String auth,String name) {
        this.id = id;
        this.auth = auth;
        this.name = name;
    }

    public Logger getLogger() {
        return logger;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuth() {
        return auth;
    }

    public void setAuth(String auth) {
        this.auth = auth;
    }

    @Override
    public String toString() {
        return "UserModel{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", auth='" + auth + '\'' +
                '}';
    }
}